package com.youlai.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description ="培训地点分页对象")
@Data
public class LocationPageVO {
    @Schema(description="培训地点ID")
    private Long id;

    @Schema(description="培训地点")
    private String content;
    @Schema(description="排序")
    private Integer sort;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @Schema(description="记录数")
    private Integer totalCount;
    @Schema(description="通过数")
    private Integer successCount;
    @Schema(description="失败数")
    private Integer failCount;

    @Schema(description = "通过率")
    private String successRate;
}
